package iotest.stream;

import java.io.Serializable;

public class Student implements Serializable {
    private String name;
    private int age;
    private char gender;
    private String other;

    public Student() {
    }

    public Student(String name, int age, char gender, String other) {
        this.name = name;
        this.age = age;
        this.gender = gender;
        this.other = other;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", gender=" + gender +
                ", other='" + other + '\'' +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public char getGender() {
        return gender;
    }

    public void setGender(char gender) {
        this.gender = gender;
    }

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }
}
